<?php
	require_once(realpath(dirname(__FILE__)) . "/../pre.php");
	require_once(realpath(dirname(__FILE__)) . "/../auth.php");

require_once(realpath(dirname(__FILE__)) . "/../../fonctions/divers.php");
?>
<?php if(! est_autorise("acces_catalogue")) exit; ?>
<?php
require_once(realpath(dirname(__FILE__)) . "/../../classes/Reecriture.class.php");
header('Content-Type: text/html; charset=utf-8');

$reecriture = new Reecriture();
if($reecriture->charger($_GET['url'])){
	?>
		<img src="gfx/interdiction.png" style="float: right;" />
	<?php
}
else{
	?>
		<img src="gfx/validation.png" style="float: right;" />
	<?php
}

?>